Repository navigation
fix(id): five lib tests failing on main — fence span, tags socket close, archive references, two hosting-blind routing tests - #4631
Merged
Merged
Conversation
…se, two hosting-blind routing tests - markdown: a closing fence line cleared the fence state before its backticks were classified, so they opened a phantom inline span that suppressed newline-destination protection for the rest of the doc. Track fence lines and never treat their backticks as span syntax. - tags_ws: the forwarding loop only watched the broadcast channel, so when the inbound side died (disconnect, close frame, oversized message error) the socket stayed open forever. End the loop when the drain task finishes. - world_ws two_apps_bind_distinct_sockets and routes public_entry_point_honours_a_configured_binding: both handlers 404 when no world is hosted, so world-less test state made the routing assertions measure hosting instead. Host a lobby world in both. The fifth failure, fileops delete_after_repeated_replacements, is tracked separately in #4574.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 26 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…#4574) archive_existing transferred the replaced file's metadata onto the new archive, and the transfer discards excluded keys from the source outright. The archive.rename/archive.replace references therefore left the live file on the first replacement (copied onto the archive, then deleted from the live name), so a delete after repeated replacements only ever found the latest archive and orphaned the rest. Snapshot the references before the transfer, keep them off the archive via the identity exclusion list, and restore them onto the live name afterwards.
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All five
idlib-test failures that currently fail the package's check phase on main (verified in the NixOS build: 2276 passed, 5 failed; all five reproduced identically outside the sandbox).test_newline_destination_protection_skips_literal_contexts: a closing fence line cleared the fence state during line-start classification, so its backticks fell into inline-span tracking and opened a phantom span that suppressed newline-destination protection for the rest of the document. Fence lines are now tracked and never treated as span syntax.websocket_caps_inbound_messages_and_keeps_tag_events_working: the forwarding loop only watched the broadcast channel; when the inbound side died (oversized-message error, disconnect, close frame) the drain task ended but nothing closed the socket. The loop now also ends when the drain task finishes.delete_after_repeated_replacements_removes_all_replaced_archives(id(fileops): repeated-replacement archive removal test fails — delete reports 1 archive instead of 2 #4574):archive_existingtransferred the replaced file's metadata onto the new archive, and the transfer discards excluded keys from the source outright — so thearchive.rename/archive.replacereferences left the live file on the first replacement, and a delete after repeated replacements only found the latest archive, orphaning the rest. The references are now snapshotted before the transfer, kept off the archive via the identity exclusion list, and restored onto the live name afterwards.two_apps_bind_distinct_socketsand routespublic_entry_point_honours_a_configured_binding: both handlers 404 when no world is hosted, so the world-less test state made the routing assertions measure hosting instead of routing. Both tests now host a lobby world.Fixes #4574.
Verified locally (laptop): the five named tests pass, plus the full fileops module (9/9).